powerpc: move get_pvr() and get_svr() into C
authorChristophe Leroy <[email protected]>
Thu, 13 Jul 2017 13:10:06 +0000 (15:10 +0200)
committerTom Rini <[email protected]>
Sun, 23 Jul 2017 02:22:51 +0000 (22:22 -0400)
commitba2c5a5c9d478c58277c4b0bb1187a6e82912410
treea1ef570acd2f109cb9102cd8b2dc3a95a5787a68
parent506cb8be7e83d29b316e1708bcf05359be16cfb7
powerpc: move get_pvr() and get_svr() into C

Avoid unnecessary assembly functions when they can easily be written
in C.

Signed-off-by: Christophe Leroy <[email protected]>
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc86xx/start.S
arch/powerpc/cpu/mpc8xx/start.S
arch/powerpc/include/asm/ppc.h